const Ajax = window.ajaxBusinessContract;

//验收单列表
export const apiCheckBillList = (param) => Ajax.request(`/v1/acceptance/list`, 'post', param, {
  showLoading: true
});

//验收单新增
export const apiCheckBillAdd = (param) => Ajax.request(`/v1/business/acceptance/create`, 'post', param, {
  showLoading: true
});

//验收单详情
export const apiCheckBillInfo = (param) => Ajax.request(`/v1/business/acceptance/detail`, 'post', param, {
  showLoading: true
});

//验收单删除
export const apiCheckBillDelete = (param) => Ajax.request(`/v1/business/acceptance/delete`, 'post', param, {
  showLoading: true
});

//项目名称
export const apiProject = (param) => Ajax.request(`/v1/business/project/list`, 'post', param, {
  showLoading: true
});

//事项类型
export const apiMatterType = (param) => Ajax.request(`/v1/business/matterType/list`, 'post', param, {
  showLoading: true
});

//事项名称
export const apiMatter = (param) => Ajax.request(`/v1/business/charge/item/list`, 'post', param, {
  showLoading: true
});